Documentation for class slider_object

Inherits from 	control 

Properties declared in slider_object 
	is_continuous 
	maximum_value 
	minimum_value 
	value 

Class Methods declared in slider_object 
	new 

Methods declared in slider_object 
	action 
		take_float_value_from(object) 
		take_integer_value_from(object) 
		take_number_value_from(object) 
	any 
		float_value 
		integer_value 
		is_continuous 
		maximum_value 
		minimum_value 
		number_value 
		set_is_continuous(boolean) 
		set_maximum_value(number) 
		set_minimum_value(number) 
		set_value(number) 
		take_float_value_from(object) 
		take_integer_value_from(object) 
		take_number_value_from(object) 
		value 
	get 
		is_continuous 
		maximum_value 
		minimum_value 
	set 
		set_is_continuous(boolean) 
		set_maximum_value(number) 
		set_minimum_value(number) 
		set_value(number) 

Class 
#begin_class
slider_object 
The class slider_object is a sub-class of the class control. 
The class slider_object is a so-called abstract class. It implements the methods that is shared by horizontal_slider and vertical_slider. 
Note: You cannot create instances of an abstract class.
#end_class

Properties 

#begin_property
is_continuous 
Stores a boolean value. If it is true the system will send a do_action message to the slider continuously as the value of the slider changes. 
If it is false the do_action message will be sent only one time when the mouse-button is released.
#end_property

#begin_property
maximum_value 
Stores the maximum value of the slider object.
#end_property

#begin_property
minimum_value 
Stores the minimum value of the slider object.
#end_property

#begin_property
value 
Stores the current value of the slider object.
#end_property

Methods 

#begin_method
float_value 
Returns the current value of the slider object as a float.
Note: Float values must be garbage collected. If you do not need the precision of a float it will be faster to use the integer_value method.
Also see integer_value.
#end_method

#begin_method
integer_value 
Returns the current value of the slider object as an integer.
#end_method

#begin_method
is_continuous 
Returns the is_continuous property of the slider object.
#end_method

#begin_method
maximum_value 
Returns the maximum_value property of the slider object.
#end_method

#begin_method
minimum_value 
Returns the minimum_value property of the slider object.
#end_method

#begin_method
number_value 
Returns the current value of the slider object as a number. 
Note: This method often returns float values that must be garbage collected. If you do not need the precision of a float it will be faster to use the integer_value method.
Also see integer_value.
#end_method

#begin_method
set_is_continuous(boolean) 
Sets the is_continuous property to boolean.
Returns self.
#end_method

#begin_method
set_maximum_value(number) 
Sets the maximum_value property to number.
Returns self.
#end_method

#begin_method
set_minimum_value(number) 
Sets the minimum_value property to number.
Returns self.
#end_method

#begin_method
set_value(number) 
Sets the value property to number.
Returns self.
#end_method

#begin_method
take_float_value_from(object) 
Sets the value property to the float value of object.
Returns self.
#end_method

#begin_method
take_integer_value_from(object) 
Sets the value property to the integer value of object.
Returns self.
#end_method

#begin_method
take_number_value_from(object) 
Sets the value property to the number value of object.
Returns self.
#end_method

#begin_method
value 
Returns the value property of the slider object.
#end_method

Class Methods 

#begin_class_method
new 
You cannot create instances of the class slider_object since it is an abstract class.
Ex:
{slider_object}:new
raises an exception
Exception:
The message new was sent to the class slider_object but slider_object is an abstract class which you can't make instances of
#end_class_method